package fun.codedesign.yinxue.mybatis;

import org.mybatis.generator.api.ShellRunner;

public class MybatisGenerator {
    public static void main(String[] args) {
        // set config absolute path
        String config = "H:\\code\\mybatis-generator\\src\\main\\resources\\generatorConfig-xxx.xml";
        ShellRunner.main(new String[]{"-configfile", config});
    }
}